package com.ruoyi.webshop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告位置#advert_position对象 advert_position
 * 
 * @author ruoyi
 * @date 2024-03-18
 */
public class AdvertPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告位主键#primary */
    private Long advertPositionId;

    /** 广告信息类型#foreign#advert_type=advert_type_id,advert_type_name */
    @Excel(name = "广告信息类型#foreign#advert_type=advert_type_id,advert_type_name")
    private Long advertTypeId;

    /** 代号 */
    @Excel(name = "代号")
    private String advertPositionCode;

    /** 宽度 */
    @Excel(name = "宽度")
    private Long advertPositionWidth;

    /** 高度 */
    @Excel(name = "高度")
    private Long advertPositionHeight;

    /** 价格(/天) */
    @Excel(name = "价格(/天)")
    private Long advertPositionPrice;

    /** 说明 */
    @Excel(name = "说明")
    private String advertPositionInfo;

    public void setAdvertPositionId(Long advertPositionId) 
    {
        this.advertPositionId = advertPositionId;
    }

    public Long getAdvertPositionId() 
    {
        return advertPositionId;
    }
    public void setAdvertTypeId(Long advertTypeId) 
    {
        this.advertTypeId = advertTypeId;
    }

    public Long getAdvertTypeId() 
    {
        return advertTypeId;
    }
    public void setAdvertPositionCode(String advertPositionCode) 
    {
        this.advertPositionCode = advertPositionCode;
    }

    public String getAdvertPositionCode() 
    {
        return advertPositionCode;
    }
    public void setAdvertPositionWidth(Long advertPositionWidth) 
    {
        this.advertPositionWidth = advertPositionWidth;
    }

    public Long getAdvertPositionWidth() 
    {
        return advertPositionWidth;
    }
    public void setAdvertPositionHeight(Long advertPositionHeight) 
    {
        this.advertPositionHeight = advertPositionHeight;
    }

    public Long getAdvertPositionHeight() 
    {
        return advertPositionHeight;
    }
    public void setAdvertPositionPrice(Long advertPositionPrice) 
    {
        this.advertPositionPrice = advertPositionPrice;
    }

    public Long getAdvertPositionPrice() 
    {
        return advertPositionPrice;
    }
    public void setAdvertPositionInfo(String advertPositionInfo) 
    {
        this.advertPositionInfo = advertPositionInfo;
    }

    public String getAdvertPositionInfo() 
    {
        return advertPositionInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advertPositionId", getAdvertPositionId())
            .append("advertTypeId", getAdvertTypeId())
            .append("advertPositionCode", getAdvertPositionCode())
            .append("advertPositionWidth", getAdvertPositionWidth())
            .append("advertPositionHeight", getAdvertPositionHeight())
            .append("advertPositionPrice", getAdvertPositionPrice())
            .append("advertPositionInfo", getAdvertPositionInfo())
            .toString();
    }
}
